﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Develop.DTO.DevelopProjectDemand;

/// <summary>
///     项目客需求新增模型
/// </summary>
public class DevelopProjectDemandAddDTO
{
    /// <summary>
    ///     项目Id
    /// </summary>
    [Required(ErrorMessage = "项目Id不可为空")]
    public string? ProjectListId { get; set; }

    /// <summary>
    ///     项目需求编码
    /// </summary>
    [Required(ErrorMessage = "项目需求编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     项目需求名字
    /// </summary>
    [Required(ErrorMessage = "项目需求名字不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     需求内容
    /// </summary>
    [Required(ErrorMessage = "需求内容不可为空")]
    public string Content { get; set; }

    /// <summary>
    ///     备注
    /// </summary>
    public string? Remark { get; set; }
}